import { MappingData } from './MappingData'
import { FlowConfigMapping } from './FlowConfig'


export const AddProcessForm = [
    { span: 24, formType: 'INPUT', name: 'flowName', label: '流程名称', rules: true },
]

export const ProcessItemForm = [
    { span: 24, formType: 'INPUT', name: 'text', label: '节点名称', rules: true },
    { span: 24, formType: 'RADIO', name: 'waring', label: '危险标识', rules: true, valueEnum: MappingData.IsYesBool },
    { span: 24, formType: 'SELECT', name: 'params', label: '节点功能', valueEnum: FlowConfigMapping },
]